#ifndef TEXTURE_H
#define TEXTURE_H

#include <string>
#include <QImage>
#include "Vector.h"

class Texture
{
public:
    Texture(const std::string& texturePath);

    void setFileName(const std::string& fileName);

    Vector3f getColor(float u, float v);

    void load();

    void bind();
    void unbind();

private:
    unsigned int textureID;
    std::string m_fileName;
    QImage m_image;
};

#endif // TEXTURE_H
